class CreateParties < ActiveRecord::Migration		
  def self.up		
    create_table :parties do |t|		
	t.column	:id,	:INT
	t.column	:plan_id,	:INT
	t.column	:act_start_date,	:datetime
	t.column	:act_end_date,	:datetime
	t.column	:act_number,	:INT
	t.column	:act_cost,	:INT
	t.column	:act_weather,	:string
	t.column	:status,	:INT
	t.timestamps		
    end		
  end		
		
  def self.down		
    drop_table :parties		
  end		
end		
